home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / LCLINT-D.SPK / lclint / guide / bool.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-08-26  |  302 b   |  20 lines

  1. #ifndef BOOL_H
  2. #define BOOL_H
  3.  
  4. #ifndef FALSE
  5. #define FALSE 0
  6. #endif
  7.  
  8. #ifndef TRUE
  9. #define TRUE (! FALSE)
  10. #endif
  11.  
  12. typedef int bool;
  13.  
  14. # define bool_initMod()
  15. # define bool_unparse(b) ((b) ? "true" : "false" )
  16. # define bool_not(b) ((b) ? FALSE : TRUE)
  17. # define bool_equal(a,b) ((a) ? (b) : !(b))
  18.  
  19. # endif
  20.